<template>
    <div class="bill-content">
        <navbar :navname="chang"></navbar>
    </div>
</template>
<script>
    import navbar from '../subcomponents/nav.vue'
    export default {
        data() {
            return {
                chang: "我的方案"
            }
        },
        created() {
        },
        beforeRouteEnter(to, from, next) {
            next(vm => {
                vm.$parent.$data.showfooter = false
                vm.$parent.$data.showmenu = false
            })
        },
        beforeRouteLeave(to, from, next) {
            this.$parent.$data.showfooter = true
            this.$parent.$data.showmenu = true
            next()
        },
        methods: {
        },
        components: {
            navbar
        }
    }
</script>
<style scoped>
    .bill-content {
        background-color: #fff
    }
</style>

